#ifndef RADIALACCELERATOR_H
#define RADIALACCELERATOR_H

#include "Affector.h"
#include "Entity.h"

class RadialAccelerator: public Affector, public Entity
{
protected:
	float effectiveRadiusSquared;
	float effectiveRadius;
	
public:
	float effectiveAcceleration;
	bool active;
	bool global;
	
	RadialAccelerator();
	RadialAccelerator(float a, float r);
	void affect(Entity *);
	float getEffectiveRadius();
	void setEffectiveRadius(float r);
};

#endif